﻿@model Projectmanagement.Models._Equipment
<fieldset style="width: 1250px;">
    <legend>设备</legend>
    <table class="noline" style="line-height: 30px">
        <tr style="line-height: 1px">
            <td colspan="8">
                <p style="font-weight: bolder">
                    联系人</p>
            </td>
        </tr>
        <tr>
            <td align="right">@Html.LabelFor(x => x.CompanyName):
            </td>
            <td>
                @Html.TextBoxFor(x => x.CompanyName, new { style = "width:165px;" })<br />
                @Html.ValidationMessageFor(x => x.CompanyName)
            </td>
            <td align="right">@Html.LabelFor(x => x.ContactName):
            </td>
            <td>
                @Html.TextBoxFor(x => x.ContactName, new { style = "width:165px;" })<br />
                @Html.ValidationMessageFor(x => x.ContactName)
            </td>
            <td align="right">@Html.LabelFor(x => x.ContaceMobile):
            </td>
            <td>
                @Html.TextBoxFor(x => x.ContaceMobile, new { style = "width:165px;" })<br />
            </td>
            <td align="right">@Html.LabelFor(x => x.ContactEmail):
            </td>
            <td>
                @Html.TextBoxFor(x => x.ContactEmail, new { style = "width:165px;" })<br />
            </td>
        </tr>
        <tr>
            <td align="right">@Html.LabelFor(x => x.ContactTitle):
            </td>
            <td>
                @Html.TextBoxFor(x => x.ContactTitle, new { style = "width:165px;" })<br />
                @Html.ValidationMessageFor(x => x.ContactTitle)
            </td>
            <td align="right">@Html.LabelFor(x => x.Superior):
            </td>
            <td>
                @Html.TextBoxFor(x => x.Superior, new { style = "width:165px;" })<br />
                @Html.ValidationMessageFor(x => x.Superior)
            </td>
        </tr>
        <tr style="line-height: 1px">
            <td colspan="8">
                <p style="font-weight: bolder">
                    同传设备</p>
            </td>
        </tr>
        <tr>
            <td align="right">@Html.LabelFor(x => x.HostSystemPrice):
            </td>
            <td>
                @(Html.Telerik().CurrencyTextBox()
                            .Name("HostSystemPrice")
                    .Value(0)
                                    .HtmlAttributes(new { style = "width: 60px" })
      )
                @Html.ValidationMessageFor(x => x.HostSystemPrice)
            </td>
            <td align="right">@Html.LabelFor(x => x.ReceiverPrice):
            </td>
            <td>
                @(Html.Telerik().CurrencyTextBox()
                                    .Name("ReceiverPrice")
                    .Value(0)
                                    .HtmlAttributes(new { style = "width: 60px" })
      )
                @Html.ValidationMessageFor(x => x.ReceiverPrice)
            </td>
            <td align="right">@Html.LabelFor(x => x.ReceiverType):
            </td>
            <td>
                @Html.DropDownListFor(x => x.ReceiverType, new[] { new SelectListItem() { Text = "每人每天", Value = "1" } }, "请选择......", new { style = "width:165px;" })<br />
            </td>
        </tr>
        <tr style="line-height: 1px">
            <td colspan="8">
                <p style="font-weight: bolder">
                    投影机</p>
            </td>
        </tr>
        <tr>
            <td align="right">@Html.LabelFor(x => x.ProjectorThreePrice):
            </td>
            <td>
                @(Html.Telerik().CurrencyTextBox()
                                            .Name("ProjectorThreePrice")
                    .Value(0)
                                    .HtmlAttributes(new { style = "width: 60px" })
      )
                @Html.ValidationMessageFor(x => x.ProjectorThreePrice)
            </td>
            <td align="right">@Html.LabelFor(x => x.ProjectoFivePrice):
            </td>
            <td>
                @(Html.Telerik().CurrencyTextBox()
                                                    .Name("ProjectoFivePrice")
                    .Value(0)
                                    .HtmlAttributes(new { style = "width: 60px" })
      )
                @Html.ValidationMessageFor(x => x.ProjectoFivePrice)
            </td>
        </tr>
        <tr style="line-height: 1px">
            <td colspan="8">
                <p style="font-weight: bolder">
                    幕布</p>
            </td>
        </tr>
        <tr>
            <td align="right">@Html.LabelFor(x => x.ScreenZeroPrice):
            </td>
            <td>
             @(Html.Telerik().CurrencyTextBox()
                                                            .Name("ScreenZeroPrice")
                    .Value(0)
                                    .HtmlAttributes(new { style = "width: 60px" })
      )
                
                @Html.ValidationMessageFor(x => x.ScreenZeroPrice)
            </td>
            <td align="right">@Html.LabelFor(x => x.ScreenTwoPrice):
            </td>
            <td>
            @(Html.Telerik().CurrencyTextBox()
                                                                    .Name("ScreenTwoPrice")
                    .Value(0)
                                    .HtmlAttributes(new { style = "width: 60px" })
      )
                
                @Html.ValidationMessageFor(x => x.ScreenTwoPrice)
            </td>
            <td align="right">@Html.LabelFor(x => x.ScreenFivePrice):
            </td>
            <td>
            @(Html.Telerik().CurrencyTextBox()
                                                                            .Name("ScreenFivePrice")
                    .Value(0)
                                    .HtmlAttributes(new { style = "width: 60px" })
      )
               
                @Html.ValidationMessageFor(x => x.ScreenFivePrice)
            </td>
        </tr>
        <tr style="line-height: 1px">
            <td colspan="8">
                <p style="font-weight: bolder">
                    音响设备</p>
            </td>
        </tr>
        <tr>
            <td align="right">@Html.LabelFor(x => x.SoundConsole):
            </td>
            <td>
                @Html.TextBoxFor(x => x.SoundConsole, new { style = "width:165px;" })<br />
                @Html.ValidationMessageFor(x => x.SoundConsole)
            </td>
            <td align="right">@Html.LabelFor(x => x.SoundPlatform):
            </td>
            <td>
                @Html.TextBoxFor(x => x.SoundPlatform, new { style = "width:165px;" })<br />
                @Html.ValidationMessageFor(x => x.SoundPlatform)
            </td>
            <td align="right">@Html.LabelFor(x => x.SoundSic):
            </td>
            <td>
                @Html.TextBoxFor(x => x.SoundSic, new { style = "width:165px;" })<br />
                @Html.ValidationMessageFor(x => x.SoundSic)
            </td>
            <td align="right">@Html.LabelFor(x => x.SoundApis):
            </td>
            <td>
                @Html.TextBoxFor(x => x.SoundApis, new { style = "width:165px;" })<br />
                @Html.ValidationMessageFor(x => x.SoundApis)
            </td>
        </tr>
        <tr style="line-height: 1px">
            <td colspan="8">
                <p style="font-weight: bolder">
                    音响设备</p>
            </td>
        </tr>
        <tr>
            <td align="right">@Html.LabelFor(x => x.VIBackPlat):
            </td>
            <td>
                @Html.DropDownListFor(x => x.VIBackPlat, new[] { new SelectListItem() { Text = "写真每平", Value = "1" }, new SelectListItem() { Text = "喷绘每平", Value = "2" } }, "请选择......", new { style = "width:165px;" })<br />
            </td>
            <td align="right">@Html.LabelFor(x => x.VIXback):
            </td>
            <td>
                @Html.TextBoxFor(x => x.VIXback, new { style = "width:165px;" })<br />
                @Html.ValidationMessageFor(x => x.VIXback)
            </td>
            <td align="right">@Html.LabelFor(x => x.VIRollUp):
            </td>
            <td>
                @Html.TextBoxFor(x => x.VIRollUp, new { style = "width:165px;" })<br />
                @Html.ValidationMessageFor(x => x.VIRollUp)
            </td>
            <td align="right">@Html.LabelFor(x => x.VIKT):
            </td>
            <td>
                @Html.TextBoxFor(x => x.VIKT, new { style = "width:165px;" })<br />
                @Html.ValidationMessageFor(x => x.VIKT)
            </td>
        </tr>
    </table>
</fieldset>
<style>
    .noline
    {
        width: 100%;
    }
    .noline, .noline tr, .noline td
    {
        border: 0;
        padding: 2px;
    }
</style>
<script type="text/javascript">
    $(function () {
        widthSize();
    });
    function widthSize() {
        $("#HostSystemPrice").width(165);
        $("#ReceiverPrice").width(165);
        $("#ProjectorThreePrice").width(165);
        $("#ProjectoFivePrice").width(165);
        $("#ScreenZeroPrice").width(165);
        $("#ScreenTwoPrice").width(165);
        $("#ScreenFivePrice").width(165);
    }
</script>
